
package com.auxgroup.hr.front.commons.security;

import java.io.Serializable;
import java.security.Principal;
import java.util.Collection;
import java.util.Map;
import org.apache.shiro.authz.AuthorizationInfo;
/**
 * 
 * @author ye.meng@ssitsh.com
 * create date 2017-10-26
 *
 */
public interface AuxSecurityPrincipal
	extends Principal, Serializable, AuthorizationInfo
{

	@SuppressWarnings({ "rawtypes", "unchecked" })
	public abstract Collection getRoles();

	public abstract Map<?, ?> getAttributes();

	public abstract String getDisplayName();

	public abstract boolean isAdminPrincipal();

	@SuppressWarnings("rawtypes")
	public abstract Collection getGroups();
}
